package com.filmbooks.contract.home.tabs;

import com.filmbooks.model.home.bean.home.WangyiNewsItemBean;
import com.filmbooks.model.home.bean.home.ZhihuDailyItemBean;
import com.filmbooks.model.home.bean.home.ZhihuDailyListBean;

import io.reactivex.Observable;

/**
 * Created by heshuxiang on 2018/3/1.
 * 描述：
 * 公司：盟将威
 * 作者：heshuxiang
 * 日期：2018/3/1.
 * 工程：FilmBooks
 * 包：com.filmbooks.contract.home.tabs
 */

public interface ZhihuContract {
    abstract class ZhihuPresenter extends BaseTabsContract.BaseTabsPresenter<IZhihuModel,
            IZhihuView, ZhihuDailyItemBean> {

    }

    interface IZhihuModel extends BaseTabsContract.IBaseTabsModel {
        io.reactivex.Observable<ZhihuDailyListBean> getDailyList(String date);

        /**
         * 获取日报list
         *
         * @return Observable
         */
        Observable<ZhihuDailyListBean> getDailyList();
    }

    interface IZhihuView extends BaseTabsContract.IBaseTabsView<ZhihuDailyItemBean> {

    }
}
